package com.hirain.command;

/**
 * Created by caicf on 2016/8/28.
 */
public class MicscorCommand implements Command {
    private Command [] commands;

    public MicscorCommand(Command[] commands) {
        this.commands = commands;
    }

    @Override
    public void execute() {
        for (Command command : commands) {
            command.execute();
        }
    }

    @Override
    public void undo() {

    }
}
